Optimal. Leaf size=36 \[ \frac {2 a \sin (c+d x) \sqrt {\sec (c+d x)}}{d \sqrt {a \cos (c+d x)+a}} \]
[Out]
________________________________________________________________________________________
Rubi [A] time = 0.10, antiderivative size = 36, normalized size of antiderivative = 1.00, number of steps used = 2, number of rules used = 2, integrand size = 25, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.080, Rules used = {4222, 2771} \[ \frac {2 a \sin (c+d x) \sqrt {\sec (c+d x)}}{d \sqrt {a \cos (c+d x)+a}} \]
Antiderivative was successfully verified.
[In]
[Out]
Rule 2771
Rule 4222
Rubi steps
\begin {align*} \int \sqrt {a+a \cos (c+d x)} \sec ^{\frac {3}{2}}(c+d x) \, dx &=\left (\sqrt {\cos (c+d x)} \sqrt {\sec (c+d x)}\right ) \int \frac {\sqrt {a+a \cos (c+d x)}}{\cos ^{\frac {3}{2}}(c+d x)} \, dx\\ &=\frac {2 a \sqrt {\sec (c+d x)} \sin (c+d x)}{d \sqrt {a+a \cos (c+d x)}}\\ \end {align*}
________________________________________________________________________________________
Mathematica [A] time = 0.07, size = 39, normalized size = 1.08 \[ \frac {2 \tan \left (\frac {1}{2} (c+d x)\right ) \sqrt {\sec (c+d x)} \sqrt {a (\cos (c+d x)+1)}}{d} \]
Antiderivative was successfully verified.
[In]
[Out]
________________________________________________________________________________________
fricas [A] time = 1.00, size = 40, normalized size = 1.11 \[ \frac {2 \, \sqrt {a \cos \left (d x + c\right ) + a} \sin \left (d x + c\right )}{{\left (d \cos \left (d x + c\right ) + d\right )} \sqrt {\cos \left (d x + c\right )}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
giac [A] time = 0.94, size = 58, normalized size = 1.61 \[ \frac {4 \, \sqrt {2} \sqrt {a} \mathrm {sgn}\left (\cos \left (\frac {1}{2} \, d x + \frac {1}{2} \, c\right )\right ) \tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )}{\sqrt {\tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )^{4} - 6 \, \tan \left (\frac {1}{4} \, d x + \frac {1}{4} \, c\right )^{2} + 1} d} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maple [A] time = 0.20, size = 50, normalized size = 1.39 \[ -\frac {2 \left (-1+\cos \left (d x +c \right )\right ) \cos \left (d x +c \right ) \left (\frac {1}{\cos \left (d x +c \right )}\right )^{\frac {3}{2}} \sqrt {a \left (1+\cos \left (d x +c \right )\right )}}{d \sin \left (d x +c \right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
maxima [B] time = 1.24, size = 98, normalized size = 2.72 \[ \frac {2 \, {\left (\frac {\sqrt {2} \sqrt {a} \sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} - \frac {\sqrt {2} \sqrt {a} \sin \left (d x + c\right )^{3}}{{\left (\cos \left (d x + c\right ) + 1\right )}^{3}}\right )}}{d {\left (\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {3}{2}} {\left (-\frac {\sin \left (d x + c\right )}{\cos \left (d x + c\right ) + 1} + 1\right )}^{\frac {3}{2}}} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
mupad [B] time = 0.29, size = 43, normalized size = 1.19 \[ \frac {2\,\sin \left (c+d\,x\right )\,\sqrt {a\,\left (\cos \left (c+d\,x\right )+1\right )}\,\sqrt {\frac {1}{\cos \left (c+d\,x\right )}}}{d\,\left (\cos \left (c+d\,x\right )+1\right )} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________
sympy [F(-1)] time = 0.00, size = 0, normalized size = 0.00 \[ \text {Timed out} \]
Verification of antiderivative is not currently implemented for this CAS.
[In]
[Out]
________________________________________________________________________________________